package com.chenxi.vhr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName vhr_job_level
 */
@TableName(value ="vhr_job_level")
@Data
public class VhrJobLevel implements Serializable {
    /**
     *  主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 职称名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 评级
     */
    @TableField(value = "title_level")
    private Object titleLevel;

    /**
     *  启用
     */
    @TableField(value = "enabled")
    private Boolean enabled;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}